﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;

namespace Echegoyen.Models
{
    [Table("Editoriales")]
    public class Editorial
    {

        public Editorial() { 
        }

        public Editorial(int id, string nombre) {

            this.EditorialId = id;
            this.Nombre = nombre;

        }

        public int EditorialId { get; set; }
        public string Nombre { get; set; }
    }
}
